-- GENERATED SPELL FOR [Dreadbone Skeleton] --


function spell0_16303(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16303', 551, 1)
end

function Sorts_16303(pUnit, Event)
local choix_sorts_16303 = math.random(0, 0)
if choix_sorts_16303 == 0 then
pUnit:RegisterEvent('spell0_16303', 1, 1)
end
end

function mob16303_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16303', math.random(1500, 3000), 1)
end

function mob16303_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16303_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16303_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16303, 1, 'mob16303_Action')
RegisterUnitEvent(16303, 2, 'mob16303_Leave')
RegisterUnitEvent(16303, 3, 'mob16303_Kill')
RegisterUnitEvent(16303, 4, 'mob16303_Die')
